home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20000824-20010305 / 000131_news@columbia.edu _Fri Dec 15 10:42:06 2000.msg < prev    next >
Internet Message Format  |  2001-03-05  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA13253
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 15 Dec 2000 10:42:06 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA23050
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 15 Dec 2000 10:42:05 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA17681
  10.     for kermit.misc@watsun.cc.columbia.edu; Fri, 15 Dec 2000 10:15:15 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: How upload of directory structure via FTP?
  14. Date: 15 Dec 2000 15:15:13 GMT
  15. Organization: Columbia University
  16. Message-ID: <91dci1$h8e$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <q9q_5.2796$jm2.9669763@nnrp2.proxad.net>,
  20. Guillaume Brialon <gbr@teamlog.fr> wrote:
  21. : "Dragan Colak" <colak@isa.de> a ∩┐╜crit dans le message news:
  22. : 91d5j2$o9f$2@news.seicom.net...
  23. : > Hi group,
  24. : >
  25. : > how can I upload a hole directory structure via FTP?
  26. : > Could look like "mput -r /local_directory /remote_directory"
  27. : > ore something similar.
  28. : > Is one of the build in commands capable of doing this?
  29. : > Thanks for any information.
  30. :
  31. : No, you can't.
  32. : You must write a script that will upload the whole structure...
  33. The new Kermit FTP client:
  34.  
  35.   http://www.columbia.edu/kermit/ftpclient.html
  36.  
  37. lets you upload an an entire directory tree with a simple sequence, such as:
  38.  
  39.   ftp foo.bar.baz.com
  40.   cd local_directory
  41.   rcd remote_directory
  42.   mput /recursive .
  43.  
  44. : ... or use a graphical interface FTP client (like llnlxftp).
  45. :
  46. That would not necessarily help, especially if you are uploading to a
  47. non-Unix platform, since uploading in text mode will wreck the binary files
  48. and uploading in binary mode will wreck the text files.
  49.  
  50. The Kermit ftp client, however, takes care of all this automatically.
  51. Furthermore, if among the files are plain-text files written in French or
  52. German (or any number of other languages), Kermit also can convert the
  53. character set as needed (e.g. CP437 to Latin-1 or UTF8).
  54.  
  55. - Frank